Smart attendance systems are essential for modern academic management and security. Traditional attendance systems rely on manual registers or basic QR codes. These methods often overlook environmental factors and device integrity, making them easy targets for proxy attendance and spoofing. In a campus setting, accurate identity verification depends not just on facial features but also on location and device security. This project introduces Trinetra, a smart attendance system that considers context. It uses a dual-stream verification model that combines an Ocular Feature Extraction algorithm for precise biometric authentication with a Geofencing Protocol for location-based verification. The biometric stream focuses on the eye area to reduce masking and background interference. It uses Brightness Normalization and Cosine Similarity to confirm identities. At the same time, the system conducts an integrity check to spot and prevent \"Developer Options,\" which helps block GPS spoofing and virtual camera attacks. The system functions as a real-time Android app connected to a Firebase Realtime Database. This setup allows for secure attendance marking through front-camera scanning, up-to-date location tracking, and automatic reporting. Test results show that this approach is much more resistant to fraud and performs significantly better in different lighting conditions compared to traditional facial recognition or single-modal biometric systems.
Introduction
Trinetra, meaning “The Third Eye,” is an advanced attendance and identity verification system that goes beyond traditional facial recognition by combining ocular biometrics, geographical context, and device integrity. Designed for academic environments, it ensures that attendance is not only accurate but also contextually valid, verifying that the student is physically present in the classroom using a secure device.
Key Innovations:
Ocular-Centric Verification: Focuses on the eye region (iris and periorbital area), allowing accurate identification even when faces are partially covered by masks or occlusions.
Spatio-Temporal Geofencing: Marks attendance only within predefined classroom coordinates, preventing remote proxy attempts.
Device Integrity Checks: Detects developer options, mock GPS, and other tampering attempts to ensure the device is uncompromised.
Dual-Stream Verification: Integrates biometric similarity with location and device security, producing a Total Reliability Score for attendance validation.
System Architecture:
Biometric Stream: Extracts ocular features, producing a 128-bit vector for identity verification.
Contextual Stream: Captures GPS and device metadata to validate presence within geofence and device integrity.
Feature Fusion: Combines ocular match, location accuracy, and device security flags to determine final attendance status (Present, Absent, Security Alert).
Output: Provides continuous reliability scores and categorical attendance status.
Implementation Details:
Android SDK with CameraX for reliable frame capture.
Google ML Kit for real-time face detection and ocular cropping.
Firebase Realtime Database for instant data synchronization.
Fused Location Provider API for high-accuracy geolocation.
Security measures prevent spoofing and GPS manipulation.
Mean Absolute Error (MAE) for geolocation and brightness normalization.
Precision-Recall curves and Equal Error Rate (EER) threshold optimization (ocular similarity threshold at 84%).
Results & Features:
Real-time, high-precision ocular scanning under varying lighting and occlusions.
Robust security against proxy attempts and device tampering.
Transparent attendance ledger with location and timestamp verification.
Integrated notification system for administrators to communicate with students.
Conclusion
This research presents Trinetra, a context-aware multimodal authentication framework that redefines institutional integrity through the integration of Ocular Biometrics and Spatio-Temporal Geofencing. By shifting the focus from global facial features to localized eye-strip patterns and combining them with environmental truth, the proposed approach significantly improves attendance accuracy and fraud resilience compared to traditional, single-modal systems. A custom Ocular Feature Extraction engine, powered by pixel-level vector matching and Brightness Normalization, was successfully employed to ensure effective biometric verification even under complex realworld conditions like facial occlusions (masks) and variable classroom lighting. The experimental results demonstrate strong generalization capabilities and a near-zero False Acceptance Rate (FAR), validated through rigorous evaluation metrics including mAP, Geofence MAE, and Threshold Optimization.
References
[1] Jain, A. K., K. Nandakumar, and A. Ross. \"50 Years of Biometric Research: Accomplishments, Challenges, and Opportunities.\" Pattern Recognition Letters 79 (2016): 80-105.
[2] Rathgeb, C., and A. Uhl. \"A Survey on Iris Biometrics.\" Journal of Network and Computer Applications 34.5 (2011): 1670-1683.
[3] Park, K., and J. Kim. \"Ocular Biometrics: A Survey of Eye-Based Recognition Systems.\" IEEE Access 8 (2020): 12543-12560.
[4] Han, S., J. Choi, and J. Park. \"Implementation of Attendance Management System using Geofencing and Fingerprint Recognition.\" International Journal of Smart Home 11.2 (2017): 155-164.
[5] Al-Khafaji, M. A., and G. S. Al-Sultani. \"A Review of Geofencing Technology and its Applications.\" International Journal of Computer Applications 178.14 (2018): 1-8.
[6] Charde, V. S., and S. S. Salankar. \"Review of Ocular Biometric System for Person Identification.\" International Journal of Computer Science and Mobile Computing 3.4 (2014): 1017-1022.
[7] Shrestha, R., and S. Lohani. \"Secure Attendance System using Android and Firebase.\" International Journal of Advanced Research in Computer Science 9.2 (2018): 455-459.
[8] Viola, P., and M. Jones. \"Robust Real-Time Face Detection.\" International Journal of Computer Vision 57.2 (2004): 137-154.
[9] Lucena, A., and J. Junior. \"A Multimodal Biometric System Based on Face and Ocular Region.\" IEEE Latin America Transactions 15.6 (2017): 1120-1126.
[10] Sun, Y., X. Wang, and X. Tang. \"Deep Learning Face Representation from Predicting 10,000 Classes.\" Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR) (2014): 1891-1898.
[11] Cai, H., et al. \"A Study on the Robustness of Ocular Biometrics under Varying Illumination.\" Proceedings of the IEEE International Conference on Biometrics (2019): 45-52.
[12] Kumar, A., and A. Passi. \"Comparison and Combination of Iris Matchers for Reliable Personal Authentication.\" Pattern Recognition 41.3 (2008): 1010-1026.
[13] Daugman, J. \"How Iris Recognition Works.\" IEEE Transactions on Circuits and Systems for Video Technology 14.1 (2004): 21-30.
[14] Rodriguez, M., and J. Ortega. \"Geofencing-based Security Systems for Academic Institutions.\" Journal of Mobile Security and Forensics 5.1 (2021): 22-30.
[15] Thompson, R., et al. \"The Impact of Ocular Region Isolation on Biometric Matching Accuracy.\" International Journal of Computer Vision and AI 12.4 (2022): 88-97.